package cn.rxls.community.vo.login;

import cn.rxls.community.vo.user.UserVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;


@Data
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LoginVO {
    //令牌token
    private String token;

    //用户信息
    private UserVO user;

    //用户拥有的房屋信息
    private List<LoginHouseVO> houses;

   public LoginVO(){
        this.user = new UserVO();
    }

}
